package com.yj.suncity.user;

import org.json.JSONObject;

import com.yj.suncity.R;
import com.yj.suncity.async.AsyncTaskUtil;
import com.yj.suncity.async.AsyncTaskUtil.ResultCallBack;
import com.yj.suncity.constant.URLCon;

import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.util.Log;

public class ShopIndustryActivity extends Activity {

	private Context context;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_cate_grid);
		context = this;
		findView();
		initData();
	}

	private void findView() {
		// TODO Auto-generated method stub

	}

	private void initData() {
		String path = URLCon.分类 + "?action=tradeinfo";
		Log.d("", path);
		AsyncTaskUtil asyncTaskUtil = new AsyncTaskUtil(context, null, null,
				false, null, true, "", new ResultCallBack() {

					@Override
					public void JSONResult(JSONObject jsonObject) {
						// TODO Auto-generated method stub

					}
				});
		asyncTaskUtil.execute(path);
	}

}
